const { sequelize, DataTypes } = require('../utils/database');

const GoodsModel = sequelize.define(
  'GoodsModel',
  {
    goods_id: {
      type: DataTypes.INTEGER,
      primaryKey: true,
      autoIncrement: true
    },
    goods_name: { type: DataTypes.STRING, allowNull: false }
  },
  {
    tableName: 'sp_goods',
    timestamps: false
  }
);
